import moduleAiMongdb


def get_data(cluster,start,end):

    data_3d=moduleAiMongdb.get_data_of_cluster(cluster,start,end)

    return data_3d


def save_data(data):

    

    pass


if __name__ == '__main__':

    # 从mongdb提取数据
    data_3d=get_data(1,'2021-01-19 20:00:00', '2021-01-31 20:00:00')


    # 写入文件
    save_data(data_3d)